
#ifndef example15_1_GameEnemyBullet_h
#define example15_1_GameEnemyBullet_h
#include "cocos2d.h"
using namespace cocos2d;

class GameEnemyBullet : public CCNode
{
public:
	bool isvisable;
	short type;
	int bulletFlag;//0-fish 1-drag
	CCSprite *mainbody;
	GameEnemyBullet(void);
	//GameEnemyBullet(short v);
	virtual ~GameEnemyBullet(void);
	void setIsVisable();
	void setIsNotVisable(CCNode* sender);
	bool getIsvisble();
	virtual void onEnter();
	virtual void onExit();   
    void releasebullet();
	void movestart();
	void restart(CCNode* sender);
};


#endif
